/**
 * 全局样式文件
 */

 .fr {
    float: right;
}

.fl {
    float: left;
}
/*  -- 内外边距 -- */

.margin-0 {
	margin: 0;
}

.margin-xs {
	margin: 5px;
}

.margin-sm {
	margin: 10px;
}

.margin {
	margin: 16px;
}

.margin-lg {
	margin: 28px;
}

.margin-xl {
	margin: 40px;
}

.margin-top-xs {
	margin-top: 5px;
}

.margin-top-sm {
	margin-top: 10px;
}

.margin-top {
	margin-top: 16px;
}

.margin-top-lg {
	margin-top: 28px;
}

.margin-top-xl {
	margin-top: 40px;
}

.margin-right-xs {
	margin-right: 5px;
}

.margin-right-sm {
	margin-right: 10px;
}

.margin-right {
	margin-right: 16px;
}

.margin-right-lg {
	margin-right: 28px;
}

.margin-right-xl {
	margin-right: 40px;
}

.margin-bottom-xs {
	margin-bottom: 5px;
}

.margin-bottom-sm {
	margin-bottom: 10px;
}

.margin-bottom {
	margin-bottom: 16px;
}

.margin-bottom-lg {
	margin-bottom: 28px;
}

.margin-bottom-xl {
	margin-bottom: 40px;
}

.margin-left-xs {
	margin-left: 5px;
}

.margin-left-sm {
	margin-left: 10px;
}

.margin-left {
	margin-left: 16px;
}

.margin-left-lg {
	margin-left: 28px;
}

.margin-left-xl {
	margin-left: 40px;
}

.margin-lr-xs {
	margin-left: 5px;
	margin-right: 5px;
}

.margin-lr-sm {
	margin-left: 10px;
	margin-right: 10px;
}

.margin-lr {
	margin-left: 16px;
	margin-right: 16px;
}

.margin-lr-lg {
	margin-left: 28px;
	margin-right: 28px;
}

.margin-lr-xl {
	margin-left: 40px;
	margin-right: 40px;
}

.margin-tb-xs {
	margin-top: 5px;
	margin-bottom: 5px;
}

.margin-tb-sm {
	margin-top: 10px;
	margin-bottom: 10px;
}

.margin-tb {
	margin-top: 16px;
	margin-bottom: 16px;
}

.margin-tb-lg {
	margin-top: 28px;
	margin-bottom: 28px;
}

.margin-tb-xl {
	margin-top: 40px;
	margin-bottom: 40px;
}

.padding-0 {
	padding: 0;
}

.padding-xs {
	padding: 5px;
}

.padding-sm {
	padding: 10px;
}

.padding {
	padding: 16px;
}

.padding-lg {
	padding: 28px;
}

.padding-xl {
	padding: 40px;
}

.padding-top-xs {
	padding-top: 5px;
}

.padding-top-sm {
	padding-top: 10px;
}

.padding-top {
	padding-top: 16px;
}

.padding-top-lg {
	padding-top: 28px;
}

.padding-right-xs {
	padding-right: 5px;
}

.padding-right-sm {
	padding-right: 10px;
}

.padding-right {
	padding-right: 16px;
}

.padding-right-lg {
	padding-right: 28px;
}

.padding-bottom-xs {
	padding-bottom: 5px;
}

.padding-bottom-sm {
	padding-bottom: 10px;
}

.padding-bottom {
	padding-bottom: 16px;
}

.padding-bottom-lg {
	padding-bottom: 28px;
}

.padding-left-xs {
	padding-left: 5px;
}

.padding-left-sm {
	padding-left: 10px;
}

.padding-left {
	padding-left: 16px;
}

.padding-left-lg {
	padding-left: 28px;
}

.padding-lr-xs {
	padding-left: 5px;
	padding-right: 5px;
}

.padding-lr-sm {
	padding-left: 10px;
	padding-right: 10px;
}

.padding-lr {
	padding-left: 16px;
	padding-right: 16px;
}

.padding-lr-lg {
	padding-left: 28px;
	padding-right: 28px;
}

.padding-tb-xs {
	padding-top: 5px;
	padding-bottom: 5px;
}

.padding-tb-sm {
	padding-top: 10px;
	padding-bottom: 10px;
}

.padding-tb {
	padding-top: 16px;
	padding-bottom: 16px;
}

.padding-tb-lg {
	padding-top: 28px;
	padding-bottom: 28px;
}

/*  -- 定位 -- */
.absolute{
    position: absolute;
}

.relative{
    position: relative;
}

.block {
    display: block;
}
.inline-block {
    display: inline-block;
}

.pointer {
    cursor: pointer;
}

.clearfix {
    &:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: ' ';
        clear: both;
        height: 0;
    }
}

/*  -- 文字 -- */

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-bold {
    font-weight: bold;
}

.text-mini {
  font-size: 10px;
}

.text-small{
    font-size: 12px;
}

.text-normal{
    font-size:  14px;
}

.text-medium{
    font-size: 16px;
  }

.text-large{
  font-size: 18px;
}
.line-through {
	text-decoration: line-through;
}

/* -- 行距 -- */
.line-xs{
  line-height:1;
}
.line-sm{
  line-height:1.5;
}
.line{
  line-height:1.75;
}
.line-lg{
  line-height:2.5;
}


/*  -- 颜色 -- */

.green {
    color: #13ce66;
}

.gray{
    color: #999;
}

.red{
    color: red;
}

.color-content {
  color : #333;
}

.color-theme{
	color: @theme;
}

.add-shadow {
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 10%);
}

 /*  -- flex弹性布局 -- */
.flex {
    display: flex;
}
.flex-sub {
    flex: 1;
}
.flex-direction {
    flex-direction: column;
}
.flex-wrap {
    flex-wrap: wrap;
}

.align-start {
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
}

.align-center {
    align-items: center;
}

.align-stretch {
    align-items: stretch;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-ellipsis {
  overflow:hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.border-box {
  box-sizing: border-box;
}

.svg-icon{
	display: inline-block;
	vertical-align: middle;
	width: 14px;
	height: 14px;
	&.sm {
		width: 10px;
		height: 10px;
	}
	&.lg {
		width: 18px;
		height: 18px;
	}
	&.big {
		width: 24px;
		height: 24px;
	}
}

.border-bottom {
	border-bottom: 1px solid #e8e8e8;
}
.more-action-menu {
	padding: 0;
	.ant-btn {
		width: 100%;
		height: 42px;
		line-height: 42px;
		padding: 0 26px;
	}
}
